QT       += core gui network sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
INCLUDEPATH += ../../elfproj
include(../qtsingleapplication/src/qtsingleapplication.pri)

SOURCES += \
    ../../elfproj/support/sp_env.cpp \
    main.cpp \
    widget.cpp

HEADERS += \
    ../../elfproj/head/m_message.h \
    ../../elfproj/support/mysql_helper.h \
    ../../elfproj/support/sp_env.h \
    g_ver.h \
    m_fhs.h \
    user.h \
    widget.h

FORMS += \
    widget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc

RC_ICONS = share.ico
